package com.ruoyi.swla2.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 分区关联对象 dw_zone_join
 *
 * @author gdqt
 * @date 2023-06-16
 */
public class ZoneJoin extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 平台表单自增主键
     */
    private Long ID;

    /**
     * 租户ID
     */
    @Excel(name = "租户ID")
    private String tenantId;

    /**
     * 分区ID
     */
    @Excel(name = "分区ID")
    private String AreaID;

    /**
     * 分区名字
     */
    @Excel(name = "分区名字")
    private String AreaName;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    private String TerminalID;

    /**
     * 监测对象（自定义）
     */
    @Excel(name = "监测对象", readConverterExp = "自=定义")
    private String TerminalName;

    /**
     * 设备用途：1、流量计 2、压力计 3、出水表 4、进水表
     */
    @Excel(name = "设备用途：1、流量计 2、压力计 3、出水表 4、进水表")
    private String Used;

    /**
     * 挂接类型：1、大表
     */
    @Excel(name = "挂接类型：1、大表")
    private Long HookType;

    /**
     * 终端使用状态(0-停用，1-使用）
     */
    @Excel(name = "终端使用状态(0-停用，1-使用）")
    private Long TerminalMark;

    /**
     * 位置识别编号
     */
    @Excel(name = "位置识别编号")
    private String locationNb;

    public void setID(Long ID) {
        this.ID = ID;
    }

    public Long getID() {
        return ID;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setAreaID(String AreaID) {
        this.AreaID = AreaID;
    }

    public String getAreaID() {
        return AreaID;
    }

    public void setAreaName(String AreaName) {
        this.AreaName = AreaName;
    }

    public String getAreaName() {
        return AreaName;
    }

    public void setTerminalID(String TerminalID) {
        this.TerminalID = TerminalID;
    }

    public String getTerminalID() {
        return TerminalID;
    }

    public void setTerminalName(String TerminalName) {
        this.TerminalName = TerminalName;
    }

    public String getTerminalName() {
        return TerminalName;
    }

    public void setUsed(String Used) {
        this.Used = Used;
    }

    public String getUsed() {
        return Used;
    }

    public void setHookType(Long HookType) {
        this.HookType = HookType;
    }

    public Long getHookType() {
        return HookType;
    }

    public void setTerminalMark(Long TerminalMark) {
        this.TerminalMark = TerminalMark;
    }

    public Long getTerminalMark() {
        return TerminalMark;
    }

    public void setLocationNb(String locationNb) {
        this.locationNb = locationNb;
    }

    public String getLocationNb() {
        return locationNb;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ID", getID())
                .append("tenantId", getTenantId())
                .append("AreaID", getAreaID())
                .append("AreaName", getAreaName())
                .append("TerminalID", getTerminalID())
                .append("TerminalName", getTerminalName())
                .append("Used", getUsed())
                .append("HookType", getHookType())
                .append("TerminalMark", getTerminalMark())
                .append("locationNb", getLocationNb())
                .toString();
    }
}
